<?php
/*cech*/
  $ced=$_POST['id'];
    $nom=$_POST['nombre'];
    require '../GestionPermisos/conn.php';
    /*if ExisteRegistro("tb01docu", "NUDO",$factura,"A") then
    {*/
   
    $SQLstr ="INSERT INTO `bt10encarg` 
              (`BT10IDEN`,`BT10NOEN`)
              VALUES('{$ced}', '{$nom}')";

    if (!$mysqli->query($SQLstr))
    {
      echo " Problemas al relizar el ingreso: (" . $conexion->errno . ") " . $conexion->error; 
    }    
    else
    {
      header('index.php');
    }
    require('mt01.php');
    $mysqli->close();
?>

